package com.kady.service;

import com.kady.entity.ResultVO;
import com.kady.entity.User;

import java.sql.SQLException;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/3/23
 * \* Time: 17:15
 * \* 千峰JAVA2101班
 * \* Description: 登录服务接口
 * \
 */

public interface AdminService {
    Object login(String username,String password) throws SQLException;
    ResultVO register(User user) throws SQLException;
}
